#ifndef _FILE_STATUS_H
#define _FILE_STATUS_H

#include <sys/stat.h>

typedef enum {  // file status
    FS_DUNNO,
    FS_SYNCED,
    FS_ABSENT,
    FS_NEWER,
    FS_OLDER,
    FS_OLD
} eFS;

extern char *FS_NAMES[];    // names corresponding to the eFS enum

typedef struct _sFS sFS;
struct _sFS {
    struct stat stat;
    eFS         status;
};

int FS_set(sFS *fsl, unsigned int fsllen);

#endif

